namespace AbpPlus.Commands
{
	using Abp.Dependency;

	using MediatR;

	/// <summary>
	/// The CommandHandler interface.
	/// </summary>
	/// <typeparam name="TCommand">
	/// </typeparam>
	/// <typeparam name="TCommandResponse">
	/// </typeparam>
	public interface ICommandHandler<in TCommand, TCommandResponse>
		: IRequestHandler<TCommand, TCommandResponse>, ITransientDependency
		where TCommand : Command<TCommandResponse>
	{
	}

	/// <summary>
	/// The CommandHandler interface.
	/// </summary>
	/// <typeparam name="TCommand">
	/// </typeparam>
	public interface ICommandHandler<in TCommand> : IRequestHandler<TCommand>, ITransientDependency
		where TCommand : Command
	{
	}
}